ACFWF\Models\Edit_Coupon D

Total Complexity 156
Dependencies 7
Dependents 1
Total lines 1,545
Lines of code 799
Logical lines of code 342
Comment lines 471
Methods 42
Properties 6

Methods 42

Method Rating Maintainability Complexity Lines of code
save_url_coupons_data()
B
44 18 38
acfw_multiselect_field()
A
43 10 49
ajax_search_products()
A
45 10 36
bogo_deals_admin_data_panel()
A
47 10 31
add_coupon_admin_menus()
A
39 5 73
ajax_search_simple_variable_products()
A
50 8 26
clone_coupon_admin_action()
S
57 8 14
url_coupons_admin_data_panel()
S
37 3 87
ajax_search_product_category()
S
52 6 22
run()
S
48 5 30
override_coupon_categories_parent_file()
S
62 6 11
_setup_default_category_on_activation()
S
50 4 28
cart_conditions_admin_data_panel()
S
52 4 21
role_restriction_admin_data_panel()
S
41 1 63
coupon_list_category_column_content()
S
58 4 15
register_clone_coupon_post_action()
S
60 4 13
prevent_default_category_term_delete()
S
62 4 11
add_shop_coupon_category_filter_selection()
S
53 3 22
remove_bulk_checkbox_default_category()
S
59 3 17
register_clone_coupon_post_link()
S
64 4 8
get_shared_advanced_coupon()
S
64 4 10
_save_with_default_coupon_category()
S
59 3 14
_register_coupon_category_taxonomy()
S
45 1 42
_get_special_symbols_warning_text()
S
65 3 9
_get_default_category()
S
67 3 7
prevent_multiple_spaces_in_coupon_code()
S
68 3 6
register_cart_conditions_metabox()
S
62 2 13
coupon_category_row_actions()
S
68 2 7
get_instance()
S
69 2 6
ajax_search_free_products()
S
82 1 3
initialize()
S
68 1 7
activate()
S
82 1 3
__construct()
S
69 1 7
register_clone_coupon_metabox()
S
91 1 2
add_coupon_list_category_column()
S
75 1 4
_force_update_coupon_post_slug()
S
66 1 8
bogo_deals_admin_data_tab()
S
75 1 4
role_restriction_admin_data_tab()
S
67 1 8
url_coupons_admin_data_tab()
S
67 1 8
add_coupons_list_in_order_preview_popup()
S
74 1 4
coupon_admin_menu_icon_css()
S
76 1 10
coupon_category_admin_menu()
S
91 1 2